import etcd3

class EtcdClient:
    def __init__(self, host='localhost', port=2379):
        self.client = etcd3.client(host=host, port=port)
    
    def put(self, key, value):
        self.client.put(key, value)
    
    def get(self, key):
        value, metadata = self.client.get(key)
        return value
